package org.kazao.calendar;

public class KazaoCalendarTime extends KazaoCalendarDateTime {
    public KazaoCalendarTime() {
        setFormat(getLocalize().getTimeFormat());
        setButtonVisible(false);
    }    
    public KazaoCalendarTime(KazaoCalendarLocal localize) {
        setFormat(getLocalize().getTimeFormat());        
        setLocalize(localize);
    }
    public String getTime() {
        return getDateTime(getLocalize().getTimeFormat());
    }
    public String getTime(String format) {
        return getDateTime(format);
    }
    public void setTime(String time, String timeFormat) throws KazaoCalendarDateTimeException {
        setDateTime(time, timeFormat);
    }
    public void setTime(String time) throws KazaoCalendarDateTimeException {
        setDateTime(time, getLocalize().getTimeFormat());
    }
    public void setTime(java.sql.Time time) {
        super.setTime(time);        
    }
}
